﻿// StockTicker 
// - Microsoft StreamInsight application example
// - Contains input adapter for reading quotes from Yahoo Finance
// (C) Johan Åhlén, 2009

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.ComplexEventProcessing;

namespace AdvantIQ.StockTicker
{
    /// <summary>
    /// Payload class for stock quote events, see StreamInsight
    /// documentation for info about payload.
    /// </summary>
    public class StockPayload
    {
        /// <summary>
        /// Unique ID of stock or index
        /// </summary>
        public string StockID { get; set; }

        /// <summary>
        /// Current value of stock or index
        /// </summary>
        public double Value { get; set; }
    }
}
